<?php
include_once("../config.php");
include_once '../connection.php';
?>



<?php

//设置需要搜索的表格的前缀后缀

$table=$table_Prefix."access_record";
//设置需要搜索的表格的前缀后缀



$_REQUEST['ai_status']      = "正常";
$new_detail_nid=$_REQUEST['id'];



$sql=update_date($table,$_REQUEST,"nid",$new_detail_nid);
$query = mysql_query($sql) or die ($sql);
mysql_close($con);


echo 1;//表示成功


?>


